﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEditor;

namespace HDJ.Framework.Core.Editor
{
    public class CreateTableClassFileMenu : TableMenuBase
    {
        public override string MenuName => "生成表格类";

        public override bool CanOpen(TableDataEditor data)
        {
            return true;
        }

        public override void Excute(TableDataEditor tableData)
        {
            CreateConfigClassEditorUtil.CreateConfigClassFile(tableData.m_currentData, tableData.chooseFileName);
            
        }
    }
}
